/**
 * 
 */
package oldtrigger;

/**
 * @author Philip
 *
 */
public class CaseSensitiveFlag extends TriggerFlagger {

	public CaseSensitiveFlag(Trigger trigger) {
		super(trigger);
	}
	
	public boolean triggers(String text) {
		trigger.triggers(text);
		return text.contains(trigger.getTrigger()) && trigger.triggers(text);
	}
}
